package cn.okuribito.service.impl;

import cn.okuribito.aop.ParamHandler;
import cn.okuribito.service.WebSocketService;
import org.springframework.stereotype.Service;

@Service
public class WebSocketServiceImpl implements WebSocketService {
    public WebSocketServiceImpl() {
    }

    @ParamHandler("str")
    public String index(String pa1, String pa2) {
        return pa1 + pa2;
    }

    @ParamHandler("int")
    public Object index(Integer pa3, Integer pa4) {
        return pa3 - pa4;
    }
}
